﻿using System.ComponentModel.DataAnnotations;

namespace BCDto.Common.News.NewsContentComment
{
    /// <summary>
    /// 新闻内容评论
    /// </summary>
    public class NewsContentCommentRequestDto
    {
        /// <summary>
        /// 新闻内容Id
        /// </summary>
        [Display(Name = "新闻内容Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public long NewsContentId { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        [Display(Name = "评论内容")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Comment { get; set; }
        /// <summary>
        /// 父级评论Id
        /// </summary>
        public long? ParentCommentId { get; set; }
    }
}
